<%@ taglib prefix="s" uri="/struts-tags" %>
<%--
  Created by IntelliJ IDEA.
  User: lkj10
  Date: 2017/2/28
  Time: 19:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
${message}
<br>
用户名：${username}
<br>
密码：${password}
<br><br>

OGNL表达式
<br>
用户名：<s:property value="username"/>
<br>
密码：<s:property value="password"/>
<br>
</body>
<br>
<%--显示出所有用户的所有信息--%>
<table>
    <s:iterator value="#userList">
    <tr>
        <td><s:property value="#id"/> </td>
        <td><s:property value="#username"/> </td>
        <td><s:property value="#password"/> </td>
    </tr>
    </s:iterator>
</table>
</html>
